Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /
Chapter 3 - Endpoints / Endpoints Reference
Constants and Data Types


Endpoint Service Types

Open Transport uses the servtype field of the TEndpointInfo structure (page 3-48) to indicate the kind of service the endpoint provides. The constant names that Open Transport can return for this field are given by the endpoint service enumeration:

enum {
      T_COTS         = 1,
      T_COTS_ORD     = 2,
      T_CLTS         = 3,
      T_TRANS        = 5,
      T_TRANS_ORD    = 6,
      T_TRANS_CLTS   = 7   
};
Constant descriptions

T_COTS
Connection-oriented transactionless service without orderly release.
T_COTS_ORD
Connection-oriented transactionless service with optional orderly release.
T_CLTS
Connectionless transactionless service.
T_TRANS
Connection-oriented transaction-based service without orderly release.
T_TRANS_ORD
Connection-oriented transaction-based service with optional orderly release.
T_TRANS_CLTS
Connectionless transaction-based service.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996